<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>喜欢的节目，口水榜 - 奇热网</title>
<script language="javascript">
<!-- 
 window.onerror=function(){return true;} 
// --></script>
<script language="javascript">var Root='{$root}';var Sid='{$sid}';var Cid='{$list_id}';<if condition="$sid eq 1">var Id='{$vod_id}';<else />var Id='{$news_id}';</if></script>
<link type="text/css" rel="stylesheet" href="/static/css/base.css" />
<link href="favicon.ico" type="image/x-icon" rel="icon">
<script type="text/javascript" src="/static/js/?b=static/js&amp;f=jquery.js,jquery-autocomplete.js,jquery-lazyload.js,jquery.base.js,jquery.superslide.js,playclass.js,js.js"></script>
<link href="/static/css/qirebox.css" type="text/css" rel="stylesheet" />
<script src="/static/js/jquery-1.7.1.min.js" type="text/javascript"></script>
<link href="/static/css/reset.css" type="text/css" rel="stylesheet" />
<link href="/static/css/colorbox.css" type="text/css" rel="stylesheet" />
<script src="/static/js/qrlazyload.js" type="text/javascript"></script>
<script type="text/javascript">
	$(document).ready(function(){
		$("#water-fall > div.ui-waterfall .fall-img img").lazyload({
			threshold : 200,
			placeholder : "/static/images/transparent.gif"
		});
		// ui-waterfall
		$(".ui-waterfall").hover(function(){		
			if(isload==0){
				getdata();
			}
			$arr=findexist($(this).attr('data'),rArray);
			if($arr!=false){
				$(this).find("#dingyue").attr('data','../user-Center-delremind-id-'+$arr['remind_id']).html('已订阅').addClass('ks-rss-ed');
			}else{
				$(this).find("#dingyue").attr('data','../user-Center-saveremind-id-'+$(this).attr('data')).html('订阅').removeClass('ks-rss-ed');
			}
			$arr=findexist($(this).attr('data'),lArray);
			if($arr!=false){
				$(this).find("#wish").attr('data','../user-Center-dellove-lid-'+$arr['love_id']).html('已收藏').addClass('ks-fav-ed');
			}else{
				$(this).find("#wish").attr('data','../user-Center-savelove-id-'+$(this).attr('data')).html('收藏').removeClass('ks-fav-ed');
			}
			$(this).find(".fall-action").show();
		},function(){
			$(this).find(".fall-action").hide();
		});	
		
		$("#water-fall").masonry({
			itemSelector: '.ui-waterfall'
		}); 
	});
	function findexist($id,$arr){
	    var count=$arr.length;
		if(count>0){
		 for(var i=0;i<count;i++){
		   if($arr[i]['vod_id']==$id)
		   {
			 return $arr[i];
		   }
		 }
		}
		return  false;		
	}
	function login_form(){
		$.colorbox({inline:true, href:"#login-dialog",width:'523px'});
			 $("#loginbt1").unbind();
			 $("#loginbt1").click(
				 function (e){
				  if($("#username1").val()=='用户名'||$("#username1").val()==''){
			$.showfloatdiv({txt:'请输入正确的用户名'});
			$("#username1").focus();
			$.hidediv({});}else if($("#password1").val()==''){
				$.showfloatdiv({txt:'请输入密码'});
				$("#password1").focus();
				$.hidediv({});}else{
				$("#username").val($("#username1").val());
				$("#password").val($("#password1").val());	
				$("#agreement").attr('checked',$("#agreement").attr('checked'));
				$("#loginform #loginbt").trigger('click');
			}
		});
	}

	</script>
</head>
<body>
<!-- // promote-bar end -->
<script>
	function cookiesave(n, v, mins, dn, path){
		if(n){		
			if(!mins) mins = 120 * 60;  // 365 * 24 * 60
			if(!path) path = "../";
			var date = new Date();
			
			date.setTime(date.getTime() + (mins * 1 * 1000));  // (mins * 60 * 1000)
			
			var expires = "; expires=" + date.toGMTString();
			
			if(dn) dn = "domain=" + dn + "; ";
			document.cookie = n + "=" + v + expires + "; " + dn + "path=" + path;
		}
	}
	function cookieget(n){
		var name = n + "=";
		var ca = document.cookie.split(';');
		for(var i=0;i<ca.length;i++) {
			var c = ca[i];
			while (c.charAt(0)==' ') c = c.substring(1,c.length);
			if (c.indexOf(name) == 0) return c.substring(name.length,c.length);
		}
		return "";
	}
	function closeclick(){
		document.getElementById('promote-bar').style.display='none';
		cookiesave('closeclick','closeclick','','','');
	}
	function clickclose(){
		if(cookieget('closeclick')=='closeclick'){
			document.getElementById('promote-bar').style.display='none';
		}else{
			document.getElementById('promote-bar').style.display='block';
		}
	}
	clickclose();
</script>
<div id="header">
  <div id="navbar">
    <div class="layout fn-clear">
      <ul id="nav" class="ui-nav">
         <li <eq name="list_id" value="">class="nav-item  current"</eq> class="nav-item " id="nav-home"><a class="nav-link" target="_self" href="{$root}"><i class="ui-icon home-nav"></i></a></li> 
        <volist name="list_menu" id="ppvod"><eq name="ppvod.list_pid" value="0"><li <eq name="ppvod.list_id" value="$list_id">class="nav-item  current" id="nav-{$ppvod.list_dir}"</eq><eq name="ppvod.list_id" value="$list_pid">class="nav-item  current" id="nav-{$ppvod.list_dir}"</eq> <eq name="ppvod.list_id" value="$list_pid">class="on"</eq> class="nav-item " id="nav-{$ppvod.list_dir}"><a class="nav-link" target="_self" href="{$ppvod.list_url}"><i class="ui-icon {$ppvod.list_dir}-nav"></i>{$ppvod.list_name}</a></li></eq></volist> 
      </ul>
      <!-- // nav end -->
      <ul id="sign" class="ui-nav">
        <li class="nav-item drop-down" id="nav-looked"><a class="nav-link drop-title" target="_self"><i class="ui-icon looked-nav"></i>播放记录 </a>
          <div class="drop-box">
            <div class="looked-list">
              <p><a rel="nofollow" class="close-his" target="_self" href="javascript:;">关闭</a><a rel="nofollow" href="javascript:;" id="emptybt" data="1" target="_self">清空全部播放记录</a></p>
<ul class="highlight" id="playhistory"></ul>
              <div class="his-todo" id="morelog" style="display:none;"></div>
              <div class="his-todo" id="his-todo"></div>
            </div>
           <script type="text/javascript">PlayHistoryObj.viewPlayHistory('playhistory');</script>
            <!-- // looked-list end -->
          </div>
        </li>
      </ul>
      <!-- // sign end -->
    </div>
  </div>
  <!-- // navbar end -->
  <div id="subnav">
    <div class="layout fn-clear">
          <volist name="list_menu" id="ppvod">
        <if condition="$ppvod.list_id eq 2">
      <div class="subnav-tv fn-left"><strong class="tv">电视剧：</strong> <volist name="ppvod.son" id="son" offset="0" length='15'><a href="{$son.list_url}" title="{$son.list_name}">{$son.list_name|msubstr=0,2}</a><em>|</em></volist></div>
      <elseif condition="$ppvod.list_id eq 1" />
      <div class="subnav-movie fn-right"><strong class="movie">电影：</strong><volist name="ppvod.son" id="son" offset="0" length='7'><a href="{$son.list_url}" title="{$son.list_name}">{$son.list_name|msubstr=0,2}</a><em>|</em></volist></div>
      </if>
      </volist> 
    </div>
  </div>
  <!-- // subnav end -->
  <div id="headbar">
    <div class="layout fn-clear">
      <div id="logo"><a href="{$root}"><img src="/static/images/logo.png" alt="{$sitename}" /></a></div>
      <!-- // logo end -->
<div id="searchbar"><div class="ui-search">
<form id="search" name="search"  method="POST" action="{$root}search" onSubmit="return qrsearch();">
<input type="text" id="wd" name="wd" class="search-input" value="请在此处输入影片片名或演员名称。" onfocus="if(this.value=='请在此处输入影片片名或演员名称。'){this.value='';}" onblur="if(this.value==''){this.value='请在此处输入影片片名或演员名称。';};" />
<input type="submit" id="searchbutton"  class="search-button" value="" /></form>
</div><!-- // search end -->
        <div class="hotkeys"> {$hotkey}</div>
        <!-- // hotkeys end -->
      </div>
      <!-- // searchbar end -->
      <ul id="tbmov-plus">
        <li><a id="new" href="{:ff_mytpl_url('my_new.html')}"><i class="ui-icon new-icon"></i>最近<br />更新</a></li>
        <li><a href="{:ff_mytpl_url('my_top.html')}"><i class="ui-icon top-icon"></i>影片<br />排行</a></li>
        <li><a href="/faq/"><i class="ui-icon help-icon"></i>会员<br />帮助</a></li>
        <li><a href="{$url_guestbook}"><i class="ui-icon gb-icon"></i>留言<br />反馈</a></li>
        <li><a target="_self" id="a-clo" href="javascript:void(0);" onclick='fav();'><i class="ui-icon fav-icon"></i>收藏<br />本站</a></li>
      </ul>
      <!-- tbmov-plus end -->
    </div>
    <!-- // layout end -->
  </div>
  <!-- // headbar end -->
</div>
<!-- // header end -->
<script type="text/javascript"> 
	function fav(){
	 URL='{$siteurl}';title='{$sitename}';
	try  { window.external.addFavorite(URL, title);  }catch (e){ try {window.sidebar.addPanel(title, URL, "");}
   catch (e) { alert("加入收藏失败，请使用Ctrl+D进行添加");}}}
</script>

<!-- // header end -->
<div id="content" class="layout">
  <div class="bread-crumb-nav fn-clear">
    <ul class="bread-crumbs">
      <li class="home"><a href="{$root}">首页</a></li>
      <li><a href="{$list_url}">{$list_name}</a></li>
    </ul>
    <!-- // bread-crumbs end -->
  </div>
  <!-- // bread-crumb-nav end -->
  <div id="water-fall" class="fn-clear">
  <php>$vod_koushui = ff_mysql_vod('cid:1,2,3,4,35;limit:30;order:vod_hits desc'); </php>
  <fflist name="vod_koushui" id="ppvod">
    <div class="ui-waterfall">
      <div class="fall-img">
        <div class="fall-action"><a class="ks-btn ks-fav" id="wish" href="javascript:void(0);" data="#">收藏</a><a class="ks-btn ks-rss" id="dingyue" href="javascript:void(0);" data="#">订阅</a></div>
        <a target="_blank" width="211" height="290" href="{$ppvod.vod_readurl}"><img original="{$ppvod.vod_picurl}" src="{$ppvod.vod_picurl}" alt="" /></a>
        <div class="fall-ing-txt"><neq name="ppvod.vod_continu" value="0">第{$ppvod.vod_continu}集<else/>{$ppvod.vod_title|default='全集'}</neq></div>
        <div class="fall-ing-bg">&nbsp;</div>
      </div>
      <div class="fall-desc">
        <p><a href="{$ppvod.vod_readurl}">{$ppvod.vod_name}</a></p>
        <p>{$ppvod.vod_addtime|date='Y-m-d H:i:s',###}</p>
      </div>
      <div class="fall-comment">
        <ul>
          <li><a href="#" target="_blank"><img src="http://uc.qire123.com/images/noavatar_small.gif" alt="hedong1992_07"/></a>
            <p><a href="#" target="_blank">hedong1992_07</a>: <em>{$ppvod.vod_content}</em></p>
          </li>
        </ul>
        <div class="viewmore"><a target="_blank" href="{$ppvod.vod_readurl}">查看全部270条评论</a></div>
      </div>
    </div>
  </fflist>
  </div>
</div>
<!-- // wrap End -->
<include file="Home:pp_footer" />
<script src="/static/js/jquery.autocomplete.js" type="text/javascript"></script>
<script language="javascript" src="/static/js/vaild/qireobj.js" type="text/javascript"></script>
<!-- Baidu Button END -->
<div style="display:none;">
  <div id="login-dialog">
    <div class="ui-dialog-cnt">
      <div class="ui-login-dialog fn-clear">
        <div class="ui-form fn-left">
          <form id="loginformb" action="/user" method="post" onsubmit="return false;">
            <div class="ui-form-title">
              <h3>请登录奇热网</h3>
            </div>
            <div class="ui-form-item fn-clear">
              <label for="username" class="ui-label">邮箱</label>
              <input type="text" id="username1" name="username" class="ui-input" value="" />
            </div>
            <div class="ui-form-item fn-clear">
              <label for="password" class="ui-label">密码</label>
              <input type="password" id="password1" name="password" maxlength="20" class="ui-input" value="" />
            </div>
            <div class="ui-form-item fn-clear">
              <label class="ui-label">&nbsp;</label>
              <label for="agreement1" class="ui-label-checkbox">
                <input type="checkbox" value="" name="agreement" id="agreement1" checked="checked"  value="1"/>
                记住我的登录 </label>
              <input type="submit" id="loginbt1" class="ui-button" value="登 录" />
            </div>
          </form>
        </div>
        <!-- // ui-form End -->
        <div class="form-bar fn-right">
          <div class="ui-form-title">
            <h3>还没有账号？</h3>
          </div>
          <ul>
            <li><a target="_blank" href="../user-reg">注册一个账号</a></li>
          </ul>
        </div>
        <!-- // form-bar End -->
      </div>
      <!-- // ui-login-dialog End -->
    </div>
    <div class="ui-dialog-todo ui-dialog-todo-left"><a target="_blank" href="../user-index-getpsw">忘记你的密码了？</a></div>
  </div>
</div>
<script src="/static/js/jquery.masonry.min.js" type="text/javascript"></script>
<script type="text/javascript" src="../static/js/jquery.colorbox.js"></script>
<script type="text/javascript">
var rArray=new Array();lArray=new Array();isload=0;$(document).ready(function(){ $(".ks-btn").click(function(){if(!checkcookie()){login_form();return false;}
$.showfloatdiv({txt:'数据提交中...',cssname:'loading'});var curobj=$(this);$.get(curobj.attr('data'),function(r){try{r=eval('('+r+')');$.hidediv(r);if(r['rcode']==1){getdata();}}
catch(e){login_form();return false;}},'html');});});function getdata(){if(checkcookie()){ $.ajax({url:syndomain+'/user-Center-getuser_data',success:function(r){rArray=new Array();lArray=new Array();isload=0;if(r['reminds']!=false){for(var i in r['reminds']){rArray.push(r['reminds'][i]);}}
if(r['lovevods']!=false){for(var i in r['lovevods']){lArray.push(r['lovevods'][i]);}}
isload=1;},dataType:'jsonp'});}}
getdata();
		
</body>
</html>